/*
 * Coordinates.java
 *
 * Created on Antradienis, 2006, Spalio 3, 09.29
 *
 */

package org.mif.mobp.core.coord;
import java.util.Date;

/**
 * Klase, nuo kurios paveldes visos klases, realizuojancios darba su koordinatemis
 */
public class Coordinates {
    /** Data, kada buvo gautos koordinates */
    protected Date date;
    /**Paklaida*/
    protected int bias;
    
    public static final int DEFAULT_BIAS = 5;
    
    
    /** Creates a new instance of Coordinates */
    public Coordinates() {
        date = new Date ();
        bias = DEFAULT_BIAS;
    }
    public Coordinates (Date d, int b) {
        date = d;
        bias = b;
    }
    
    public void setDate (Date d) {
        date = d;
    }
    
    public Date getDate () {
        return date;
    }
    
    public int getBias(){
        return bias;
    }
    
    public void setBias(int b){
        bias=b;
    }
}
